	<?php
	include("db/connect.php");
    $selecttambol="SELECT * FROM tambol WHERE amphur_id='".$_POST["temp"]."' ORDER BY tambol_name ASC";
	$querytambol=mysql_query($selecttambol);
	?>
    <select name="tambol_id" id="tambol_id">
        <?php 
	while($resulttambol=mysql_fetch_array($querytambol)){
		?>
      <option value="<?php echo$resulttambol["tambol_id"]?>"><?php echo $resulttambol["tambol_name"]?></option>
      ><?php
        }
	?>
    </select>
